class Config():
    def __init__(self):
        # 画布
        self.GRID_SIZE = 400
        self.CELL_SIZE = 800 // self.GRID_SIZE  # 根据屏幕大小调整单元格大小
        self.SCREEN = (800, 800)
        self.FONT_SIZE = 24

        # 智能体
        self.AGENT_COUNT = 15  # 智能体个数
        self.AGENT_MIN_MAX_HEALTH = (10, 30)  # 智能体初始血量范围

        # 食物
        self.FOOD_SIZE = self.CELL_SIZE // 0.5100  # 食物的大小
        self.FOOD_COUNT = 100  # 食物的个数
        self.FOOD_MIN_MAX_SATIETY = (0, 10)  # 食物补充的血量范围
        self.FOOD_COLOR = (255, 0, 0)  # 食物颜色

        self.WHITE = (255, 255, 255)
        self.BLACK = (0, 0, 0)
